export const HOST = 'https://ecc.weadmin.com';
export const OdataHOST = HOST + '/bods.svc'; //bodsmqtt.svc  bods.svc

export const PSDLOGIN = 1; //密码登录
export const CODELOGIN = 2; //验证码登录

export const REGISTER = 'REGISTER';

export const PATH = {
  attractions: '景点',
  show: '演出',
  contest: '赛事',
  local: '体验',
  detail: '详情',
  user: '我的',
  center: '账户首页',
  info: '个人中心',
  order: '我的订单',
  coupon: '优惠券',
  point: '我的积分',
  collect: '我的收藏',
  comment: '我的p评价',
  security: '安全设置',
  message: '消息中心',
  psd: '修改密码',
  cell: '更改绑定'
};
export const PROTYPES = {
  attractions: 'attractions',
  show: 'show',
  contest: 'contest',
  experience: 'experience'
};

export const ANCHORS = [
  { title: '产品详情', href: 'introduce' },
  { title: '费用明细', href: 'expense' },
  { title: '预订须知', href: 'notice' },
  { title: '用户点评', href: 'comment' }
];

export const PAYSTATE = {
  UNPAY: { type: 0, text: '待支付', actionValue: '去支付' },
  UNCOMMENT: { type: 1, text: '待评价', actionValue: '去评价' },
  PAYED: { type: 2, text: '已支付', actionValue: '查看详情' },
  CANCELED: { type: 3, text: '已取消', actionValue: '查看详情' }
};
export const ACTIONSTATE = [
  { type: 0, text: '待支付', actionValue: '去支付' },
  { type: 1, text: '待评价', actionValue: '去评价' },
  { type: 2, text: '已支付', actionValue: '查看详情' },
  { type: 3, text: '已取消', actionValue: '查看详情' },
  { type: 4, text: '待出行', actionValue: '查看详情' }
];
export const COMMENTSTATE = {
  UN: { type: 0, text: '待评价', actionValue: '评价' },
  ED: { type: 1, text: '已评价', actionValue: '查看评价' }
};
